package com.fcy.musicplayer.network

import com.fcy.musicplayer.network.tpbean.HotPlaylist
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface MusicService {
    /**
     * 获取热播歌单
     * @param before 歌单从何处开始
     * @param limit 返回歌单的数量
     */
    @GET("top/playlist/highquality")
    fun getHotPlaylist(@Query("before") before: String, @Query("limit") limit: Int):Call<HotPlaylist>
}